package com.querie.model.beans;
import javax.persistence.Entity;
import javax.persistence.Id;

@Entity
public class Query {

	@Id
	long sessionid;
	
	@Id
	long queryid;
	
	String columnfragid;
	
	String tablefragid;
	
	String wherefragid;
	
	String groupfragid;
	
	String havingfragid;
	
	String orderbyfragid;

	String queryfragmentimportance;
	
	public long getSessionid() {
		return sessionid;
	}

	public void setSessionid(long sessionid) {
		this.sessionid = sessionid;
	}

	public long getQueryid() {
		return queryid;
	}

	public void setQueryid(long queryid) {
		this.queryid = queryid;
	}

	public String getColumnfragid() {
		return columnfragid;
	}

	public void setColumnfragid(String columnfragid) {
		this.columnfragid = columnfragid;
	}

	public String getTablefragid() {
		return tablefragid;
	}

	public void setTablefragid(String tablefragid) {
		this.tablefragid = tablefragid;
	}

	public String getWherefragid() {
		return wherefragid;
	}

	public void setWherefragid(String wherefragid) {
		this.wherefragid = wherefragid;
	}

	public String getGroupfragid() {
		return groupfragid;
	}

	public void setGroupfragid(String groupfragid) {
		this.groupfragid = groupfragid;
	}

	public String getHavingfragid() {
		return havingfragid;
	}

	public void setHavingfragid(String havingfragid) {
		this.havingfragid = havingfragid;
	}

	public String getOrderbyfragid() {
		return orderbyfragid;
	}

	public void setOrderbyfragid(String orderbyfragid) {
		this.orderbyfragid = orderbyfragid;
	}

	public String getQueryfragmentimportance() {
		return queryfragmentimportance;
	}

	public void setQueryfragmentimportance(String queryfragmentimportance) {
		this.queryfragmentimportance = queryfragmentimportance;
	}
}
